/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.library.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.EqualsAndHashCode;
import org.springblade.core.tenant.mp.TenantEntity;

/**
 * 素材库 实体类
 *
 * @author
 * @since 2023-03-22
 */
@Data
@TableName("ts_material_library")
@ApiModel(value = "MaterialLibrary对象", description = "素材库")
@EqualsAndHashCode(callSuper = true)
public class MaterialLibraryEntity extends TenantEntity {

	/**
	 * 乐观锁
	 */
	@ApiModelProperty(value = "乐观锁")
	private String revision;
	/**
	 * 素材名称
	 */
	@ApiModelProperty(value = "素材名称")
	private String meterialName;
	/**
	 * 素材存放路径
	 */
	@ApiModelProperty(value = "素材存放路径")
	private String storagePath;
	/**
	 * 素材大小
	 */
	@ApiModelProperty(value = "素材大小")
	private Long meterialSize;
	/**
	 * 是否是私有文件(导入素材库后不希望被其他人引用) 0否 1 私有的
	 */
	@ApiModelProperty(value = "是否是私有文件(导入素材库后不希望被其他人引用)")
	private Integer isPrivateDocument;

	/**
	 * 附件域名
	 */
	@ApiModelProperty(value = "附件域名")
	private String domainUrl;

	/**
	 * 附件拓展名
	 */
	@ApiModelProperty(value = "附件拓展名")
	private String extension;

	/**
	 * 资源所属业务类型
	 * (课程视频、学习课件、其他等)
	 */
	@ApiModelProperty(value = "资源所属业务类型")
	private Integer category;

	/**
	 * 保密等级
	 */
	@ApiModelProperty(value = "保密等级")
	private Integer secrecyLevel;

}
